// Brian Malloy        Animation using SDL
//modified by Jin Xu

#include <iostream>
#include <string>
using std::string;

#include "controller.h"
ParseXML* ParseXML::instance;

int main(int, char*[]) {
   try {
	  //const ParseXML* parser = ParseXML::getInstance();
      Controller controller;
      controller.play();
   }
   catch (const string& msg) { std::cout << msg << std::endl; }
   catch (...) {
      std::cout << "Oops, someone threw an exception!" << std::endl;
   }
   return 0;
}
